/**
 * 存放所有网络请求地址
 */
const base = {
    baseURL:"http://localhost:5000",     // 服务器地址
    login:"/user/login/",           // 登录地址 
    // test_response:'/user/test/',   //测试响应response
    get_menu:'/menu/menus/?type_=tree',  //侧栏地址【树】
    get_menu_list:'/menu/menus/',   //【列表】
    get_users:'/user/users/',  //获取用户列表
    get_user_by_id:'/user/user/',
    edit_user:'/user/user/',
    del_user:'/user/user/',
    rest_userpwd:'/user/reset_pwd/',
   
    // role
    get_roles:'/roles/',  //获取角色列表
    del_role_menu:'/role/',
    set_menu:'/role/',
    // Categories
    get_categories:'/categories/',
    add_category:'/categories/',
    get_attr_by_category:'/attributes/',
    add_attr:'/attributes/',
    update_attr_value:'/attribute/',
    get_product_list:'/products/',
    delete_product:'/product/',
    upload_img:'/upload_img/',
    add_product:'/products/',
    get_orders:'/orders/',
    get_express:'/expresses/',
  } 
  export default base
  